import http from "@/http/index"

export default {

  select: {
    name: "图库查询",
    url: "/imgServer-api/select",
    call: async function (params: any = {}) {
      return await http.get(this.url, params);
    }
  },
  add: {
    name: "图库添加",
    url: "/tuku-api/tuku/add",
    call: async function (params: any) {
      return await http.post(this.url, params);
    }
  },
  upload: {
    name: "上传图片",
    url: "/imgServer-api/upload",
    call: async function (params: any) {
      return await http.post(this.url, params);
    }
  },

}
